/**
 * Copyright (c) 2018-2099, Joffee.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.sailmi.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.sailmi.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serial;

/**
 * 实体类
 *
 * @author Joffee
 * @since 2025-03-19
 */
@TableName("ucs_user_role")
@Schema(description = "UserRole对象")
public class UserRole extends BaseEntity {

    @Serial
	private static final long serialVersionUID = 1L;

  private Long id;
    /**
     * 用户id
     */
  @Schema(description = "用户id")
  private Long userId;
    /**
     * 角色id
     */
  @Schema(description = "角色id")
  private Long roleId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
}
